package com.battle.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import lombok.Data;
import nirvana.core.domains.ann.AccEntity;
import nirvana.core.domains.entity.DomainBaseEntity;
import nirvana.core.domains.enums.EntityType;

/**
 * @author anni.zhu
 * @author anni.zhu@king-v.com
 * Created in 2024/10/8 19:24
 * 队伍战力表
 */
@Data
@TableName(value = "TEAM_WAR_CASE",autoResultMap = true)
@Entity(name = "TEAM_WAR_CASE")
@AccEntity(value = "队伍战力表", type = EntityType.SERVICE_ENTITY)
public class TeamWarCase extends DomainBaseEntity<TeamWarCase> {
    /**
     * id
     */
    @Column()
    private Long id;

    /**
     * 战力指数
     */
    @Column()
    private Integer combatPower;
    /**
     * 队伍名称
     */
    @Column()
    private String name;

    /**
     * 所属组织架构id
     */
    @Column()
    private Long organizationId;

    /**
     * 创建人名称
     */
    @Column
    private String creatorName;
}
